package 设计模式.行为型模式.责任链;

public abstract class AbstractHandler implements Handler {
     private Handler next;
     public void setNext(Handler next) {
    	 this.next = next;
     }
     public Handler getNext() {
    	 return next;
     }
}